package com.station.search.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @author: JT
 * @date: 2021/9/4
 * @Title:
 */
@Setter
@Getter
@ToString
@ApiModel(value = "台站问题反馈模型")
public class StationQuestionVO {

    @ApiModelProperty("台站ID")
    private String id;

    @ApiModelProperty(required = true, name = "台站号")
    @NotBlank(message = "台站号不能为空")
    private String stationCode;

    @ApiModelProperty(required = true, name = "台站名")
    @NotBlank(message = "台站名不能为空")
    private String stationName;

    @ApiModelProperty(required = true, name = "问题时间")
    @NotBlank(message = "问题时间不能为空")
    private String questionDate;

    @ApiModelProperty(required = true, name = "台站问题")
    @NotBlank(message = "台站问题不能为空")
    private String question;

    @JsonProperty(defaultValue = "0")
    @ApiModelProperty(required = false, name = "是否已处理完成, 0:未处理 1：处理完成", example = "0")
    private Integer isDeal;

}
